30 juillet 2019


DDP - W3 Assignment : create a web page presentation using R Markdown that features a plot created with Plotly

My simple plot : Black cherry trees!

shows the measurement of Girth (tree diameter in inches) vs Volume of timber in cubic ft and Height in ft, using embedding R Code

The Code

library(ggplot2)
library(plotly)
plot_ly(trees, x = ~Girth, y = ~Volume,  z = ~Height ,
        type = "scatter3d", color = ~Girth)

Try it!